package com.htd.htdapmapi.alarm.dto;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import lombok.Data;

@Data
public class AlarmMessageDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 943389189449585158L;

	private int scopeId;

	/**
	 * 告警名称：如：membercenter+id
	 */
	private String name;

	private int id0;

	private int id1;

	/**
	 * 告警信息内容
	 */
	private String alarmMessage;

	/**
	 * 告警时间
	 */
	private long startTime;

	/**
	 * 告警状态
	 */
	private String alarmStatus;

	/**
	 * 告警时间ID，用做ES的ID 方便后面更新ES
	 */
	private String alarmsId;
	
	/**
	 * 数据来源
	 */
	private String sourceFrom;
	
	private String alarmTime;
	
	
    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
